//
//  UserCollectionViewCell.m
//  XiangMuB
//
//  Created by lanou3g on 16/8/16.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "UserCollectionViewCell.h"

@implementation UserCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        _view =[[UIImageView alloc] initWithFrame:CGRectMake((self.frame.size.width -40)/2-2, 5, 50, 50)];
        
        _view.layer.cornerRadius = _view.frame.size.width/2;
        _view.layer.masksToBounds =YES;
        [self addSubview:_view];
        
        _lable = [[UILabel alloc] initWithFrame:CGRectMake(10, 55,60 , 20)];
        [_lable NightWithType:UIViewColorTypeClear];
        _lable.textAlignment = NSTextAlignmentCenter;
        _lable.font =[UIFont systemFontOfSize:12];
        
        [self addSubview:_lable];
        
    }
    return self;
}

@end
